<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${site_title}</title>
<style type="text/css">
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    background-color: #282a36;
    margin: 10px 13px 10px 13px;
}
table {
	margin: 10px 0 15px 0;
	border-collapse: collapse;
}
td,th {	
	border: 1px solid #ddd;
	padding: 3px 10px;
}
th {
	padding: 5px 10px;	
}
a {
    color: #59acf3;
}
a:hover {
    color: #a7d8ff;
    text-decoration: none;
}
a img {
    border: none;
}
p {
    margin-bottom: 9px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    line-height: 36px;
}
h1 {
    margin-bottom: 18px;
    font-size: 30px;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
h5 {
    font-size: 14px;
}
h6 {
    font-size: 13px;
}
hr {
    margin: 0 0 19px;
    border: 0;
    border-bottom: 1px solid #ccc;
}
blockquote {
    padding: 13px 13px 21px 15px;
    margin-bottom: 18px;
    font-family:georgia,serif;
    font-style: italic;
}
blockquote:before {
    content:"\201C";
    font-size:40px;
    margin-left:-10px;
    font-family:georgia,serif;
    color:#eee;
}
blockquote p {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    margin-bottom: 0;
    font-style: italic;
}
code, pre {
    font-family: Monaco, Andale Mono, Courier New, monospace;
}
code {
	color: #ff4a14;
    padding: 1px 3px;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
pre {
    display: block;
    padding: 14px;
    margin: 0 0 18px;
    line-height: 16px;
    font-size: 11px;
    border: 1px solid #bf370f;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
pre code {
    background-color: #282a36;
    color: #ff4a14;
    font-size: 11px;
    padding: 0;
}
@media screen and (min-width: 914px) {
    body {
        width: 854px;
        margin:10px auto;
    }
}
@media print {
	body,code,pre code,h1,h2,h3,h4,h5,h6 {
		color: black;
	}
	pre,code {
		word-wrap: break-word;
	}
	/*
	table, pre {
		page-break-inside: avoid;
	}
	*/
}
</style>
</head>
<body>
	<div>
		<div style="float:left">
			<b>&nbsp;${site_title}</b>
		</div>
		<div style="float:right;">
			<a href="<#if _post??>../../../</#if>${site_index}">首页</a>
		</div>
	</div>
	<div style="clear:both;border-bottom:1px solid #fff;padding-bottom:10px;margin-bottom:10px;"></div>
	<div style="min-height:700px;">
		<#if notes??>
			<ul>
				<#list notes as note>
					<li>[${note.date}]<a href="${note.link}">${note.title}</a>[${note.author}]</li>
				</#list>
			</ul>
		</#if>
		<#if site_main??>
			${site_main}
		</#if>
		<#if _404??>
			<div>
				<h1>404 Page Not Found</h1>
				<p>您访问了一个不存在的页面。。。</p>
			</div>
		</#if>
	</div>
	<div style="clear:both;border-bottom:1px solid #fff;padding-bottom:10px;margin-bottom:10px;"></div>
	<div style="text-align: center;">
		&copy; <a href="${site_host}">${site_author}</a>&nbsp;2013&nbsp;Powered&nbsp;by&nbsp;<a href="https://code.google.com/p/cobaya/">Cobaya-Pages</a>
	</div>
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-39647543-1']);
	  _gaq.push(['_trackPageview']);
	  (function() {
	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
</body>
</html>